package com.common;

public class Constant {

	public static final String CHAT_USER_ADMIN = "admin";
	public static final String APPLY_FRIEND = "申请加您为好友";

	/***************************** 服务器请求相关***************************** ***/
	 public final static String SERVER_URL_PREFIX = "http://api.kyt360.com/mobile/1/";
	 // public final static String SERVER_URL_PREFIX = "http://192.168.6.6:8080/api/mobile/1/";
	 /**
	 * 申请应用时分配的AppKey
	 */
	 public static final String APPKEY = "f079435af71d4325966bedd59eaa6f2a";
	 /**
	 * 申请应用时分配的AppSecret
	 */
	 public static final String APPSERRET = "943c6aab7d7848a8b4fe42b688401f45";
	/***************************** 192.168.6.6***************************** ***/
//	public final static String SERVER_URL_PREFIX = "http://192.168.6.7:8080/api/mobile/1/";
//	/**
//	 * 申请应用时分配的AppKey
//	 */
//	public static final String APPKEY = "bdc0e965c20d420997ddad692fdb7795";
//	/**
//	 * 申请应用时分配的AppSecret
//	 */
//	public static final String APPSERRET = "482ff00f3cc04fda8f6691c3f5d5d3b6";

	/****************** 本地 *****************************/
//	 public final static String SERVER_URL_PREFIX = "http://192.168.6.122/api/mobile/1/";
//	 /**
//	 * 申请应用时分配的AppKey
//	 */
//	 public static final String APPKEY = "f53f2f2190ea46d5a7d5eb05a345fe9a";
//	 /**
//	 * 申请应用时分配的AppSecret
//	 */
//	 public static final String APPSERRET = "327aaffdbe804a1ebae39f7c229b8636";

	/**
	 * 请求成功code
	 */
	public static final String RESULT_CODE_SUCCESS = "0";

	/**
	 * 列表页容量
	 */
	public final static int LIST_PAGESIZE = 10;

	/**
	 * 获取MD5key
	 */
	public static final String SERVER_URL_MD5KEY = SERVER_URL_PREFIX + "auth/md5_key.json";
	/**
	 * 登录
	 */
	public static final String SERVER_URL_LOGIN = SERVER_URL_PREFIX + "auth/login.json";

	/**
	 * 注册
	 */
	public static final String SERVER_URL_REGISTER = SERVER_URL_PREFIX + "user/register.json";

	/**
	 * 获取用户信息
	 */
	public static final String SERVER_URL_USER_INFO = SERVER_URL_PREFIX + "user/info.json";
	/**
	 * 获取用户信息
	 */
	public static final String SERVER_URL_USER_UPDATEINFO = SERVER_URL_PREFIX + "user/update_info.json";

	/**
	 * 首页信息列表
	 */
	public static final String SERVER_URL_INDEX = SERVER_URL_PREFIX + "common/index.json";

	/**
	 * 问题详情
	 */
	public static final String SERVER_URL_QUESTION_DETAIL = SERVER_URL_PREFIX + "question/detail.json";

	/**
	 * 回答问题
	 */
	public static final String SERVER_URL_QUESTION_ANSWER = SERVER_URL_PREFIX + "question/answer.json";
	/**
	 * 关注问题
	 */
	public static final String SERVER_URL_QUESTION_FOCUS = SERVER_URL_PREFIX + "question/focus.json";
	/**
	 * 取消关注问题
	 */
	public static final String SERVER_URL_QUESTION_FOCUS_CANCEL = SERVER_URL_PREFIX + "question/cancel_focus.json";

	/**
	 * 话题列表
	 */
	public static final String SERVER_URL_TOPICS = SERVER_URL_PREFIX + "topic/list.json";

	/**
	 * 提问
	 */
	public static final String SERVER_URL_QUESTION_ASK = SERVER_URL_PREFIX + "question/ask.json";

	/**
	 * 问题列表
	 */
	public static final String SERVER_URL_QUESTION_LIST = SERVER_URL_PREFIX + "question/questions.json";
	/**
	 * 关注问题列表
	 */
	public static final String SERVER_URL_FOCUS_QUESTION_LIST = SERVER_URL_PREFIX + "question/focus_list.json";
	/**
	 * 我的收藏
	 */
	public static final String SERVER_URL_MIME_COLLECTS = SERVER_URL_PREFIX + "mine/collects.json";

	/**
	 * 回答列表
	 */
	public static final String SERVER_URL_ANSWER_LIST = SERVER_URL_PREFIX + "answer/answers.json";
	/**
	 * 答案详情
	 */
	public static final String SERVER_URL_ANSWER_DETAIL = SERVER_URL_PREFIX + "answer/detail.json";
	/**
	 * 答案赞
	 */
	public static final String SERVER_URL_ANSWER_LOVE = SERVER_URL_PREFIX + "answer/love.json";
	/**
	 * 答案取消赞
	 */
	public static final String SERVER_URL_ANSWER_CANCEL_LOVE = SERVER_URL_PREFIX + "answer/cancel_love.json";
	/**
	 * 答案收藏
	 */
	public static final String SERVER_URL_ANSWER_COLLECT = SERVER_URL_PREFIX + "answer/collect.json";
	/**
	 * 关注某人
	 */
	public static final String SERVER_URL_USER_FOCUS = SERVER_URL_PREFIX + "user/focus.json";
	/**
	 * 取消关注某人
	 */
	public static final String SERVER_URL_USER_CANCEL_FOCUS = SERVER_URL_PREFIX + "user/cancel_focus.json";

	/**
	 * 搜索
	 */
	public static final String SERVER_URL_SEARCH = SERVER_URL_PREFIX + "common/search.json";
	/**
	 * 上传头像
	 */
	public static final String SERVER_URL_USER_AVATOR = SERVER_URL_PREFIX + "user/avator.json";

	/**
	 * 评论
	 */
	public static final String SERVER_URL_ANSWER_COMMENT = SERVER_URL_PREFIX + "answer/comment.json";

	/**
	 * 我的好友
	 */
	public static final String SERVER_URL_FRIEND_MINE = SERVER_URL_PREFIX + "friends/mine.json";
	/**
	 * 新的朋友
	 */
	public static final String SERVER_URL_FRIEND_NEW = SERVER_URL_PREFIX + "friends/new.json";
	/**
	 * 申请加为好友
	 */
	public static final String SERVER_URL_FRIENDS_APPLY = SERVER_URL_PREFIX + "friends/apply.json";
	/**
	 * 同意好友
	 */
	public static final String SERVER_URL_FRIENDS_AGREE = SERVER_URL_PREFIX + "friends/agree.json";

	/**
	 * 绑定手机号
	 */
	public static final String SERVER_URL_BIND_PHONE = SERVER_URL_PREFIX + "bind_phone.json";

	/**
	 * 拨打电话
	 */
	public static final String SERVER_URL_CALL = SERVER_URL_PREFIX + "call.json";

	/**
	 * 服务列表
	 */
	public static final String SERVER_URL_SERVICE_LIST = SERVER_URL_PREFIX + "service/list.json";

	/**
	 * 发送短信验证码
	 */
	public static final String SERVER_URL_SMS = SERVER_URL_PREFIX + "sms.json";
	/**
	 * 发送短信验证码
	 */
	public static final String SERVER_URL_BIND_PHONE_CODE = SERVER_URL_PREFIX + "bind_phone/code.json";

	/**
	 * 找回密码
	 */
	public static final String SERVER_URL_USER_FIND_PASSWORD = SERVER_URL_PREFIX + "user/password/find.json";

	/**
	 * 上传图片
	 */
	public static final String SERVER_URL_UPLOAD_PICTURE = SERVER_URL_PREFIX + "picture.json";

	/**
	 * 关注的好友
	 */
	public static final String SERVER_URL_MINE_FOCUS_USERS = SERVER_URL_PREFIX + "mine/focus_users.json";

}
